Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
Data Structures


Memory Device Structure

You specify a memory device using a memory device structure, defined by the TQADeviceMemory data type.

typedef struct TQADeviceMemory {
   long                       rowBytes;
   TQAImagePixelType          pixelType;
   long                       width;
   long                       height;
   void                       *baseAddr;
} TQADeviceMemory;
Field Description
rowBytes
The distance, in bytes, from the beginning of one row of the memory device to the beginning of the next row of the memory device.
pixelType
A value that specifies the size and organization of the memory associated with a pixel in the pixmap. See "Pixel Types" (page 1-35) for information on the values you can assign to this field.
width
The width, in pixels, of the memory device.
height
The height, in pixels, of the memory device.
baseAddr
A pointer to the beginning of the memory device.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help